﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LprMiddleWare.HangWang
{
    public static class Util
    {
        public static long ConvertIpToLong(byte[] bytes)
        {
            return (((long)bytes[0] << 24) | (bytes[1] << 16) |
            (bytes[2] << 8) | bytes[3]);
        }
    }
}
